package org.ly.supermarketsystem.entity;

/**
 * @Author: Ben
 * @Date: 2021/12/27 12:10
 */
public class SuperMarket {
   protected   Integer id;
   protected   String tradeName;
   protected String merchandiseCategories;
   protected String commodityCode;
   protected String manufacturer;

   public SuperMarket(Integer id, String tradeName, String merchandiseCategories, String commodityCode, String manufacturer) {
      this.id = id;
      this.tradeName = tradeName;
      this.merchandiseCategories = merchandiseCategories;
      this.commodityCode = commodityCode;
      this.manufacturer = manufacturer;
   }

   public SuperMarket(String tradeName, String merchandiseCategories, String commodityCode, String manufacturer) {
      this.tradeName = tradeName;
      this.merchandiseCategories = merchandiseCategories;
      this.commodityCode = commodityCode;
      this.manufacturer = manufacturer;
   }

   public SuperMarket() {
   }

   public Integer getId() {
      return id;
   }

   public void setId(Integer id) {
      this.id = id;
   }

   public String getTradeName() {
      return tradeName;
   }

   public void setTradeName(String tradeName) {
      this.tradeName = tradeName;
   }

   public String getMerchandiseCategories() {
      return merchandiseCategories;
   }

   public void setMerchandiseCategories(String merchandiseCategories) {
      this.merchandiseCategories = merchandiseCategories;
   }

   public String getCommodityCode() {
      return commodityCode;
   }

   public void setCommodityCode(String commodityCode) {
      this.commodityCode = commodityCode;
   }

   public String getManufacturer() {
      return manufacturer;
   }

   public void setManufacturer(String manufacturer) {
      this.manufacturer = manufacturer;
   }

   @Override
   public String toString() {
      return "SuperMarket{" +
              "id=" + id +
              ", tradeName='" + tradeName + '\'' +
              ", merchandiseCategories='" + merchandiseCategories + '\'' +
              ", commodityCode='" + commodityCode + '\'' +
              ", manufacturer='" + manufacturer + '\'' +
              '}';
   }
}
